import SvgIcon from './common/SvgIcon';
import IElPager from './common/IElPager';
import FullAddressSelect from './common/FullAddressSelect';
import InputAmount from './business/InputAmount';
import InputQuantity from './business/InputQuantity';
import InputNumber from './common/InputNumber';
import SiruiTable from './common/SiruiTable';
import SiruiSearch from './common/SiruiSearch';
import Treeselect from './common/Treeselect';
import CustomTreeselect from './common/CustomTreeselect';

const componentsMap = {
  SvgIcon,
  IElPager,
  FullAddressSelect,
  InputAmount,
  InputQuantity,
  InputNumber,
  SiruiTable,
  SiruiSearch,
  Treeselect,
  CustomTreeselect,
};
export default {
  install(app) {
    for (const key in componentsMap) {
      app.component(key, componentsMap[key]);
    }
  },
};
